import 'package:flutter/material.dart';

class LoadingImgWidget extends StatelessWidget {
  const LoadingImgWidget({
    this.height = 140,
    this.borderRadius = 4.0,
    super.key,
  });

  final double? height; // 加载图片高度

  final double? borderRadius; // 加载图片圆角

  @override
  Widget build(BuildContext context) {
    return Container(
      height: height,
      decoration: BoxDecoration(
        color: Color(0xFFEBEBEB),
        borderRadius: BorderRadius.circular(4.0),
      ),
      child: Image.asset('assets/placeholder.png'),
    );
  }
}
